<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	
	<link  href="../../../../themes/default/style.css" class="view-source" rel="stylesheet">
	<script src="../../../../scripts/jquery.js"  class="view-source" type="text/javascript"></script>
	<script src="../../../../scripts/common.js"  class="view-source" type="text/javascript"></script>
	<script src="../../../../scripts/browserfix.js"  class="view-source" type="text/javascript" ></script>
	<script src="../../../../scripts/plugins/jquery.json.js" type="text/javascript"></script>
	
	<script src="../jquery.inputpro.js" class="view-source" type="text/javascript"></script>
	
	<script src="../../demo.js"></script>
	<link href="../../demo.css" rel="stylesheet">
	
	<style type="text/css">
		.demo-block{
			padding:10px;
		}
	</style>
	
	<script type="text/javascript">
		$( function(){
			//初始化文本框只能输入数字
			/*$('.numberbox').numberbox({
				max:100,  	//最大值
				min:10,  	//最小值
				precision:1	//小数位数
			});*/
		} ) ;
	</script>
</head>

<body>
	<div>
		<h2></h2>
		
		<div class='demo-block view-source noparse'>
			文本框：<input type='text'  data-widget="numberbox" data-options="{max:100,min:10,precision:1}"/> (请输入数字，最大值:100,最小值:10，小数位：1)
		</div>
	</div>
</body>
</html>